<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
  
  <HEAD><META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
    <TITLE>nwscode.pydatetime.tzinfo -- Abstract base class for time zone info classes.</TITLE>
    <LINK HREF="layout.css" TYPE="text/css" REL="stylesheet">
    
  </HEAD>
  <BODY>
    <DIV ID="page">
      
    <DIV ID="top-nav">
        <H1 ID="doc-title">
        <A HREF="index.html" REL="index">nwscode</A></H1>
        <DIV CLASS="online-navigation">
          <A HREF="index.html" REL="index">index</A>
          <SPAN ID="nav-docs">
            
          </SPAN>
          
          
          <BR>
          
          
          
          <A HREF="module-nwscode.html" TITLE="nwscode reference">
            nwscode
          </A>
          
            
            <A HREF="class-nwscode.pydatetime.tzinfo.html">details</A>
            
            <A HREF="class-nwscode.pydatetime.tzinfo-index.html">
              tree
            </A>
            
          
        </DIV>
    </DIV>
    
    <DIV ID="main-content">
  
  <H1 CLASS="pudge-member-page-heading">
    <TT>tzinfo</TT>
  </H1>
  <H4 CLASS="pudge-member-page-subheading">
    Abstract base class for time zone info classes.
  </H4>
  <P CLASS="pudge-member-parent-link">
    <SMALL>
    The tzinfo class is accessible via the
    <A HREF="module-nwscode.pydatetime.html">
      <TT>nwscode.pydatetime</TT>
    </A> module.
    </SMALL>
  </P>
  <DIV ID="pudge-section-nav">
  <UL>
    <LI>
      <A HREF="#attributes" CLASS="pudge-section-link">
        Attributes (1)
      </A>
      
    </LI>
      
    <LI>
      <A HREF="#methods" CLASS="pudge-section-link">
        Methods (5)
      </A>
      
    </LI>
    
    <LI>
      <A HREF="nwscode/pydatetime.py.html?f=991&amp;l=1062#991" CLASS="pudge-section-link">
        Source
      </A>
    </LI>
  </UL>
  </DIV>
  <DIV STYLE="clear: left">
  </DIV>
  <DIV CLASS="rst pudge-module-doc">
    <P>Subclasses must override the name(), utcoffset() and dst() methods.</P>
  </DIV>
  
  <HR>
  
  
  
  
    <A NAME="attributes">
  
  
    </A>
    <H2>Attributes</H2>
    <DIV CLASS="pudge-member name">
    <A NAME="__safe_for_unpickling__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.tzinfo.html#__safe_for_unpickling__" CLASS="pudge-obj-link">__safe_for_unpickling__</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>True</PRE>
    </DIV>
  </DIV>
    
  
    <A NAME="methods">
    
  
    </A>
    <H2>Methods</H2>
    <DIV CLASS="pudge-member routine alias">
    <A NAME="__init__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.tzinfo.html#__init__" CLASS="pudge-obj-link">__init__</A>(...)</TT>
      <A HREF="__builtin__.py.html" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="tzname">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.tzinfo.html#tzname" CLASS="pudge-obj-link">tzname</A>(self, dt)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=997&amp;l=1000#997" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      datetime -> string name of time zone.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="utcoffset">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.tzinfo.html#utcoffset" CLASS="pudge-obj-link">utcoffset</A>(self, dt)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1001&amp;l=1004#1001" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      datetime -> minutes east of UTC (negative for west of UTC)
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="dst">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.tzinfo.html#dst" CLASS="pudge-obj-link">dst</A>(self, dt)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1005&amp;l=1012#1005" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      datetime -> DST offset in minutes east of UTC.
    </P>
    <P>Return 0 if DST not in effect.  utcoffset() must include the DST
offset.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="fromutc">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.tzinfo.html#fromutc" CLASS="pudge-obj-link">fromutc</A>(self, dt)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1013&amp;l=1042#1013" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      datetime in UTC -> datetime in local time.
    </P>
    
  
    </DIV>
  </DIV>
    
  
  
  <P>
    <SMALL>
    
    
    See 
    <A HREF="nwscode/pydatetime.py.html?f=991&amp;l=1062#991" TITLE="nwscode/pydatetime.py:991">the source</A>
    for more information.
    </SMALL>
  </P>
</DIV>
    
    <DIV ID="footer">
      
      <P ID="pudge">
        Built with
        <A HREF="http://lesscode.org/projects/pudge/">
          Pudge/0.1.1</A>
      </P>
      
    </DIV>
    </DIV>
  </BODY>
</HTML>